<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>Document</title>
    <link rel="stylesheet" href="BgColor.css" type="text/css">
</head>
<body>
    <script src="https://cdn.jsdelivr.net/npm/vue"></script>
    <div id="app">
        <p v-if="age===18">
            熊超永远18
        </p>
        <p v-else-if="age===58">
            熊超是58
        </p>
        <p v-else>
            不知道熊超几岁
         </p>
    </div>
    <script>
            var app=new Vue({
                el:'#app',       
                data:{
                    age:28,
                },
                computed:{
                   
                }
            })
        </script>
</body>
</html>